<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="../templates/commonTemplate.jsp"
                    xmlns="http://www.w3.org/1999/xhtml"
                    xmlns:a4j="http://richfaces.org/a4j"
                    xmlns:rich="http://richfaces.org/rich">

        <f:loadBundle basename="kuzmenkov.oip.i18n.front.imageProcessingRes" var="imageProcessingBundle"/>
        <f:loadBundle basename="kuzmenkov.oip.i18n.front.headerRes" var="headerBundle"/>

        <ui:define name="pageTitle">#{headerBundle.siteName} - #{imageProcessingBundle.pageTitle}</ui:define>

        <ui:define name="pageHeader">
            <ui:include src="common/header.jsp"/>
        </ui:define>


        <ui:define name="pageBody">
            <ui:include src="components/imageProcessingBody.jsp"/>
        </ui:define>

        <ui:define name="pageFooter">
            <ui:include src="common/footer.jsp"/>
        </ui:define>

    </ui:composition>

</jsp:root>

